-
-
Notifications
You must be signed in to change notification settings - Fork 235
Refactor foreign keys and relationships to pure logic #901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
TODO: 全局:
应用:
插件:
|
# Conflicts: # backend/app/admin/crud/crud_dept.py # backend/app/admin/crud/crud_user.py
|
此 PR 是为了删除任何表之间的物理外键约束(fk、cascade) 定义 事实上,仅使用 relationship 而不使用 fk 也可以正常工作,只是需要手动处理级联操作(cascade) 综上所述,仅使用 relationship 似乎也能达到此 PR 目标,但是,对于明确规定禁止使用 relationship 的要求,这仍然无法满足 我的最终目标是,在此 PR 被合并之前,完成 PR 中列出的所有任务,然后将主分支进行最后发版并创建备份分支 |
# Conflicts: # backend/app/admin/service/data_rule_service.py # backend/app/admin/service/dept_service.py # backend/common/security/permission.py # backend/plugin/oauth2/api/v1/user_social.py # backend/plugin/oauth2/crud/crud_user_social.py # backend/plugin/oauth2/service/user_social.py
# Conflicts: # backend/app/admin/service/data_scope_service.py
|
Hi~ @downdawn 当前 PR 任务已完成,可以帮忙 review 吗? 如果有任何问题,请随时 ping 我,以确保此 PR 在被合并之前,我可以为当前主分支制作最后发版和备份 |



Close #825